home *** CD-ROM | disk | FTP | other *** search
- on enterFrame
- global CurrentBug, level1, SubBug, myclickon, curdraw, curmask
- set curdraw to the number of cast "cursing"
- set curmask to the number of cast "cursing mask"
- set myclickon to 0
- puppetSprite(37, 1)
- puppetSprite(1, 1)
- puppetSprite(2, 1)
- puppetSprite(3, 1)
- set the castNum of sprite 37 to the number of cast ("bug" & CurrentBug & "." & level1 & "." & SubBug)
- set the foreColor of sprite 37 to 252
- end
-
- on exitFrame
- global level1, pal, NumofCol, ChipList, NameList, introplayed
- if level1 = 1 then
- set templist to ChipList
- else
- set templist to NameList
- end if
- repeat with xxx = 4 to 3 + NumofCol
- puppetSprite(xxx, 1)
- set temphold to getAt(pal, xxx - 3)
- if level1 < 3 then
- setcolor(xxx, temphold)
- else
- set the castNum of sprite xxx to getAt(templist, temphold)
- end if
- set the backColor of sprite xxx to 1
- set the visible of sprite xxx to 1
- end repeat
- if level1 = 1 then
- set hinter to 1
- else
- set hinter to 2
- end if
- if not introplayed then
- play frame "MC" & hinter & ".1"
- end if
- end
-